import {request} from '@/utils/request'
import {requestFy} from '@/utils/request'

// 销售卸货地列表查询
export function getDataPage(data) {
	return request({
		url: '/queue/cus-deploy/getPage',
		headers: {
			isToken: false
		},
		'method': 'GET',
		'data': data
	})
}

// 销售卸货地创建
export function create(data) {
	return request({
		url: '/queue/cus-deploy/create',
		headers: {
			isToken: false
		},
		'method': 'POST',
		'data': data
	})
}

// 销售卸货地单条数据详情
export function getOne(id) {
	return request({
		url: `/queue/cus-deploy/getById?id=${id}`,
		headers: {
			isToken: false
		},
		'method': 'GET',
	})
}

// 销售卸货地更新
export function update(data) {
	return request({
		url: '/queue/cus-deploy/update',
		headers: {
			isToken: false
		},
		'method': 'POST',
		'data': data
	})
}